#pragma once

class CRegion
{
public:
	CRegion(void);
	CRegion(CRegion const&);
	virtual ~CRegion(void);

	int m_x1,m_y1,m_x2,m_y2;
	char* m_handler;

	void SetRegion(int x1,int y1, int x2, int y2);
	void SetHandler(const char* handler);
	char* GetHandler();
	bool isEqual(char* operand);
	bool isInside(int px,int py);
private:
	void DeleteHandler();
};
